<?php
include('simple_html_dom.php');
$dom = file_get_html('http://www.google.com');
foreach ($dom->find('img') as $elm)
  echo $elm->src."";
?>